﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 产业链支持_库存形态转换单表头DTO Copy DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CopyOfIC_TransferFormDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CopyOfIC_TransferFormDTOData()
		{
			initData();
		}
		private void initData()
		{
					ID= 0; 
				
		
		
		
		
					GLClose=false; 
					IsInfectCost=false; 
		
		
		
		
					OperationType= 0; 
				
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        	        	        			if (this.Org != null) 
			{
				this.Org.DoSerializeKeyList(dict);
			}
	        			if (this.TransferFormTransType != null) 
			{
				this.TransferFormTransType.DoSerializeKeyList(dict);
			}
	        			if (this.SOBAccountPeriod != null) 
			{
				this.SOBAccountPeriod.DoSerializeKeyList(dict);
			}
	        	        	        	        			if (this.DescFlexSegments != null) 
			{
				this.DescFlexSegments.DoSerializeKeyList(dict);
			}
	        			if (this.TransferFormLine!=null)
			{
				foreach(ufida.u9.ait.openapi.CopyOfIC_TransferFormLDTOData objdata in this.TransferFormLine)
				{
					objdata.DoSerializeKeyList(dict);
				}
			}
				        	        	        	        	        			if (this.DescFlexField != null) 
			{
				this.DescFlexField.DoSerializeKeyList(dict);
			}

		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CopyOfIC_TransferFormDTOData(  System.Int64 iD  , System.String docNo  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData org  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData transferFormTransType  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData sOBAccountPeriod  , System.String status  , System.Boolean gLClose  , System.Boolean isInfectCost  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexSegments  , List<ufida.u9.ait.openapi.CopyOfIC_TransferFormLDTOData> transferFormLine  , System.DateTime bussinessDate  , System.String memo  , System.Int32 operationType  , System.String createdBy  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexField  )
		{
			initData();
			this.ID = iD;
			this.DocNo = docNo;
			this.Org = org;
			this.TransferFormTransType = transferFormTransType;
			this.SOBAccountPeriod = sOBAccountPeriod;
			this.Status = status;
			this.GLClose = gLClose;
			this.IsInfectCost = isInfectCost;
			this.DescFlexSegments = descFlexSegments;
			this.TransferFormLine = transferFormLine;
			this.BussinessDate = bussinessDate;
			this.Memo = memo;
			this.OperationType = operationType;
			this.CreatedBy = createdBy;
			this.DescFlexField = descFlexField;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// ID
		/// 产业链支持_库存形态转换单表头DTO Copy.Misc.ID
		/// </summary>
		private System.Int64 m_iD ;
		[DataMember(IsRequired=false)]
		public System.Int64 ID
		{
			get	
			{	
				return m_iD ;
			}
			set	
			{	
				m_iD = value ;	
			}
		}
			
		

		/// <summary>
		/// 单号
		/// 产业链支持_库存形态转换单表头DTO Copy.Misc.单号
		/// </summary>
		private System.String m_docNo ;
		[DataMember(IsRequired=false)]
		public System.String DocNo
		{
			get	
			{	
				return m_docNo ;
			}
			set	
			{	
				m_docNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 组织
		/// 产业链支持_库存形态转换单表头DTO Copy.Misc.组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_org ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Org
		{
			get	
			{	
				return m_org ;
			}
			set	
			{	
				m_org = value ;	
			}
		}
			
		

		/// <summary>
		/// 物料形态转换单单据类型
		/// 产业链支持_库存形态转换单表头DTO Copy.Misc.物料形态转换单单据类型
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_transferFormTransType ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData TransferFormTransType
		{
			get	
			{	
				return m_transferFormTransType ;
			}
			set	
			{	
				m_transferFormTransType = value ;	
			}
		}
			
		

		/// <summary>
		/// SOB会计期间
		/// 产业链支持_库存形态转换单表头DTO Copy.Misc.SOB会计期间
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_sOBAccountPeriod ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData SOBAccountPeriod
		{
			get	
			{	
				return m_sOBAccountPeriod ;
			}
			set	
			{	
				m_sOBAccountPeriod = value ;	
			}
		}
			
		

		/// <summary>
		/// 单据状态
		/// 产业链支持_库存形态转换单表头DTO Copy.Misc.单据状态
		/// </summary>
		private System.String m_status ;
		[DataMember(IsRequired=false)]
		public System.String Status
		{
			get	
			{	
				return m_status ;
			}
			set	
			{	
				m_status = value ;	
			}
		}
			
		

		/// <summary>
		/// 总账财务关闭
		/// 产业链支持_库存形态转换单表头DTO Copy.Misc.总账财务关闭
		/// </summary>
		private System.Boolean m_gLClose ;
		[DataMember(IsRequired=false)]
		public System.Boolean GLClose
		{
			get	
			{	
				return m_gLClose ;
			}
			set	
			{	
				m_gLClose = value ;	
			}
		}
			
		

		/// <summary>
		/// 影响成本
		/// 产业链支持_库存形态转换单表头DTO Copy.Misc.影响成本
		/// </summary>
		private System.Boolean m_isInfectCost ;
		[DataMember(IsRequired=false)]
		public System.Boolean IsInfectCost
		{
			get	
			{	
				return m_isInfectCost ;
			}
			set	
			{	
				m_isInfectCost = value ;	
			}
		}
			
		

		/// <summary>
		/// 描述性弹性域段集合
		/// 产业链支持_库存形态转换单表头DTO Copy.Misc.描述性弹性域段集合
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexSegments ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexSegments
		{
			get	
			{	
				return m_descFlexSegments ;
			}
			set	
			{	
				m_descFlexSegments = value ;	
			}
		}
			
		

		/// <summary>
		/// 物料形态转换单行
		/// 产业链支持_库存形态转换单表头DTO Copy.Misc.物料形态转换单行
		/// </summary>
		private List<ufida.u9.ait.openapi.CopyOfIC_TransferFormLDTOData> m_transferFormLine ;
		[DataMember(IsRequired=false)]
		public List<ufida.u9.ait.openapi.CopyOfIC_TransferFormLDTOData> TransferFormLine
		{
			get	
			{	
				if (m_transferFormLine == null )
				{
					List<ufida.u9.ait.openapi.CopyOfIC_TransferFormLDTOData> n_m_list = new List<ufida.u9.ait.openapi.CopyOfIC_TransferFormLDTOData>() ;
					m_transferFormLine = n_m_list ;
				}
				return m_transferFormLine ;
			}
			set	
			{	
				m_transferFormLine = value ;	
			}
		}
			
		

		/// <summary>
		/// 单据日期
		/// 产业链支持_库存形态转换单表头DTO Copy.Misc.单据日期
		/// </summary>
		private System.DateTime m_bussinessDate ;
		[DataMember(IsRequired=false)]
		public System.DateTime BussinessDate
		{
			get	
			{	
				return m_bussinessDate ;
			}
			set	
			{	
				m_bussinessDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 备注
		/// 产业链支持_库存形态转换单表头DTO Copy.Misc.备注
		/// </summary>
		private System.String m_memo ;
		[DataMember(IsRequired=false)]
		public System.String Memo
		{
			get	
			{	
				return m_memo ;
			}
			set	
			{	
				m_memo = value ;	
			}
		}
			
		

		/// <summary>
		/// 操作类型
		/// 产业链支持_库存形态转换单表头DTO Copy.Misc.操作类型
		/// </summary>
		private System.Int32 m_operationType ;
		[DataMember(IsRequired=false)]
		public System.Int32 OperationType
		{
			get	
			{	
				return m_operationType ;
			}
			set	
			{	
				m_operationType = value ;	
			}
		}
			
		

		/// <summary>
		/// 创建人
		/// 产业链支持_库存形态转换单表头DTO Copy.Misc.创建人
		/// </summary>
		private System.String m_createdBy ;
		[DataMember(IsRequired=false)]
		public System.String CreatedBy
		{
			get	
			{	
				return m_createdBy ;
			}
			set	
			{	
				m_createdBy = value ;	
			}
		}
			
		

		/// <summary>
		/// 描述性弹性域段集合
		/// 产业链支持_库存形态转换单表头DTO Copy.Misc.描述性弹性域段集合
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexField ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexField
		{
			get	
			{	
				return m_descFlexField ;
			}
			set	
			{	
				m_descFlexField = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																														
		#endregion 
	} 	
}
